package com.yt.order.api.interfaces;

import com.yt.core.service.GenericService;
import com.yt.order.api.model.OrderNumber;

import java.util.Date;

public interface OrderNumberService extends GenericService<OrderNumber, Long> {

	public String nextOrderNumber(int orderFrom, int orderType);

	public String nextOrderNumber(Date date, int orderFrom, int orderType);

	public String nextAppOrderNumber(Date date);
}